import { MqttClient } from 'mqtt';

/**
 * 关闭连接
 * @param client 创建连接的实例
 */
export default function close(client: MqttClient) {
	client.end();
}
